And fix all the errors coming from that.
test_change = executable(
'test-css-change',
'test-css-change.c',
+ c_args: common_cflags,
dependencies: libgtk_dep,
install: get_option('install-tests'),
install_dir: testexecdir,
/* There shall be no other styles */
#define GTK_STYLE_PROVIDER_PRIORITY_FORCE G_MAXUINT
-char *
+static char *
test_get_other_file (const char *ui_file, const char *extension)
{
GString *file = g_string_new (NULL);
testdatadir = join_paths(installed_test_datadir, 'css')
test_api = executable('api', 'api.c',
+ c_args: common_cflags,
dependencies: libgtk_dep,
install: get_option('install-tests'),
install_dir: testexecdir)
suite: 'css')
test_data = executable('data', ['data.c', '../../gtk/css/gtkcssdataurl.c'],
+ c_args: common_cflags,
include_directories: [confinc, ],
dependencies: gtk_deps,
install: get_option('install-tests'),
testdatadir = join_paths(installed_test_datadir, 'css')
test_nodes = executable('test-css-nodes', 'test-css-nodes.c',
+ c_args: common_cflags,
install: get_option('install-tests'),
install_dir: testexecdir,
dependencies: libgtk_dep)
testdatadir = join_paths(installed_test_datadir, 'css')
test_parser = executable('test-css-parser', 'test-css-parser.c',
+ c_args: common_cflags,
install: get_option('install-tests'),
install_dir: testexecdir,
dependencies: libgtk_dep)
'test-css-style',
'test-css-style.c',
cssresources,
+ c_args: common_cflags,
dependencies: libgtk_dep,
install: get_option('install-tests'),
install_dir: testexecdir,
/* There shall be no other styles */
#define GTK_STYLE_PROVIDER_PRIORITY_FORCE G_MAXUINT
-char *
+static char *
test_get_other_file (const char *ui_file, const char *extension)
{
GString *file = g_string_new (NULL);